package com.dadibadi.core.dao.entity;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serial;

/**
 * @author : lkfs@163.com
 * @date : 2025-08-15 18:07
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName(value = "user_info", autoResultMap = true)
public class UserInfoTab extends Model<UserInfoTab> {

    @Serial
    private static final long serialVersionUID = 1721170649078183354L;

    /**
     * user_id
     */
    @TableId(type = IdType.ASSIGN_ID)
    private String userId;

    /**
     * nick_name
     */
    private String nickName;

    /**
     * self_intro
     */
    private String selfIntro;

    /**
     * avatar
     */
    private String avatar;

    /**
     * article_count
     */
    private Integer articleCount;

    /**
     * member_flag，1为会员，0为普通用户
     */
    private Integer memberFlag;

}
